﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AutoWelding.Models
{
    public class AlarmModel
    {
        /// <summary>
        /// 报警记录ID（主键）
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 报警具体信息
        /// </summary>
        public string AlarmMessage { get; set; }
        /// <summary>
        /// 报警类型（安全类/设备类/工艺类/缓存类）
        /// </summary>
        public string AlarmType { get; set; }
        /// <summary>
        /// 报警产生时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 报警处理时间
        /// </summary>
        public DateTime? HandleTime { get; set; }
        /// <summary>
        /// 是否处理（0=未处理，1=已处理）
        /// </summary>
        public int IsHandled { get; set; }
        /// <summary>
        /// 处理人
        /// </summary>
        public string Handler { get; set; }
        /// <summary>
        /// 处理备注
        /// </summary>
        public string Remark { get; set; }
    }
}
